//
//  LS_WebViewModel.m
//  breadPro
//
//  Created by 刘文超 on 2019/7/18.
//  Copyright © 2019 刘文超. All rights reserved.
//

#import "LS_WebViewModel.h"
@interface LS_WebViewModel()
@property(nonatomic,strong)id<LS_ViewModelService> services;
@end
@implementation LS_WebViewModel
-(instancetype)initWithServices:(id<LS_ViewModelService>)service param:(NSDictionary *)params
{
    if (self = [super init]) {
        _services = service;
        _requestURL = params[RequestURLkey];
        _title = params[WebTitlekey];
        _navBarStyleType = [params[WebNavBarStyleTypekey] unsignedIntegerValue];
        _webType = [params[WebViewTypekey] unsignedIntegerValue];
        
    }return self;
}
@end
